| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 22 | detectLanguage: function() { |
||
| 23 | if (API.promise) { |
||
| 24 | return API.api.i18n.detectLanguage(); |
||
| 25 | } |
||
| 26 | else { |
||
| 27 | return new C_Promise(function(){ |
||
| 28 | API.api.i18n.detectLanguage((function(isReliable, languages){ |
||
| 29 | this.call_then(isReliable, languages); |
||
| 30 | }).bind(this)); |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | }, |
||
| 34 | getMessage: API.api.i18n.getMessage, |
||
| 37 | }; |